package com.rose.doorto.footbathdoor.fegin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author 李庆超
 * @email 1481791489@qq.com
 * @Package：com.rose.doorto.footbathdoor.fegin
 * @Project：door-to-door
 * @name：AliPayRemoteFeginService
 * @date 2024/08/09 2024/8/9:16:09:
 */
@FeignClient(name = "footbath-pay")
public interface AliPayRemoteFeginService {

    /**
     * 远程服务调用支付接口
     * @param orderSn
     * @return
     */
    @GetMapping("/alipay/payOrder/{orderSn}")
    String payOrder(@PathVariable("orderSn") String orderSn);
}
